package cn.technology.forum.util;

/**
 * @author moguai
 * @version 1.0
 * @date 2022/4/10 16:40
 */
public class ReturnMsgUtil {
    public static final Integer SUCCESS_CODE=0;
    public static final String SUCCESS_MSG="操作成功";

    public static final Integer ERROR_CODE=10000;
    public static final String ERROR_MSG="操作失败";

    public static final Integer SERVER_ERROR_CODE=10001;
    public static final String SERVER_ERROR_MSG="服务器错误";

    public static final Integer SERVER_METHOD_ERROR_CODE=10002;
    public static final String SERVER_METHOD_ERROR_MSG="方法调用错误";

    public static final int MOBILE_REPEAT = 10003;
    public static final String MOBILE_REPEAT_INFO = "账号已存在";

    public static final int NOT_USER_NAME = 10004;
    public static final String NOT_USER_NAME_INFO = "账号不存在";

    public static final int PASSWORD_ERROR = 10005;
    public static final String PASSWORD_ERROR_INFO = "密码错误!";

    public static final int VERIFYCODE_EXPIRED = 10006;
    public static final String VERIFYCODE_EXPIRED_INFO = "验证码过期!";

    public static final int VERIFYCODE_ERROR = 10007;
    public static final String VERIFYCODE_ERROR_INFO = "验证码错误!";

    public static final int USER_ERROR = 10008;
    public static final String USER_ERROR_INFO = "账号异常,请联系管理员!";

    public static final int PARAMETER_ERROR = 10009;
    public static final String PARAMETER_ERROR_INFO = "请求参数不正确!";

    public static final int OLD_PWD_ERROR = 10012;
    public static final String OLD_PWD_ERROR_INFO = "原密码错误!";

    public static final int GRAPHIC_VERIFICATION_ERROR = 10013;
    public static final String GRAPHIC_VERIFICATION_ERROR_INFO = "图形验证码错误";

    public static final int OLD_VERIFYCODE_EXPIRED = 10014;
    public static final String OLD_VERIFYCODE_EXPIRED_INFO = "原手机验证码过期!";

    public static final int OLD_VERIFYCODE_ERROR = 10015;
    public static final String OLD_VERIFYCODE_ERROR_INFO = "原手机验证码错误!";

}

